home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
NEWSOFT
/
AUGUST
/
FREEDIAL
/
!FreeDial
/
DefScript
< prev
next >
Wrap
Text File
|
1996-04-14
|
2KB
|
67 lines
#
# This is an example of a script file for FreeDial, its syntax is:
#
# Any empty lines or lines starting with '#' or '|' are ignored
# Lines starting with '*' are treated as system commands
#
# Send <string> - sends <string> to the modem
# SendCR <string> - sends <string> to the modem, followed by a carriage return
# SendGS <string> - sends <string> GStransed to the modem
# Wait <string> - waits until <string> is received from the modem
# Answer - Lets the modem answer the phone and wait for CONNECT message
# GetIP <varname> - waits until an IP number is received, and places it in
# the given system variable
# GetWord <varname> reads the next sequence of non-whitespace characters, and
# places it in the given system variable
# TimeOut <n> - sets the timeout to n cs. when waiting for modem responses
# Pause <n> - delays script execution for n seconds
# Login - sends the login name, as selected from FreeDials frontend
# Password - sends the password, as selected
# Echo <string> - Displays <string> in the dial window status icon
# ResConf - Configure resboot and resconf files for the name resolver module
# Task <string> - Execute string as a command in a new task slot. Use 'Task'
# to start programs and for any disc-based command. *command
# does not provide a new task slot and using * to start a new
# program will overwrite FreeDial, resulting in FreeDial's
# violent death!
#
# Keyword matching is case-insensitive, string matching for the Wait command
# IS case-sensitive
#
# Note that this is just the login dialogue, modem settings are found in the
# modem driver files in <FreeDial$Config>.Modems
# These variables are directly passed to FreeNet and MUST be set, if not
# already from FreeDials frontend:
# Inet$LocalIP
# Inet$RemoteIP
# Inet$RouterIP
# Inet$NameServer1IP
# Inet$NameServer2IP
# Inet$NameServer3IP
# Inet$NodeName
# Inet$Domain
# Inet$FullName
#
# Inet$Password can be read in this script, it is deleted when it quits.
Pause 1
Echo Logging in
Wait ogin:
Login
Wait assword:
Password
Wait >
SendCR slip
Wait from
GetIP Inet$RemoteIP
Wait to
GetIP Inet$LocalIP
ResConf
Echo Starting SLIP
Task InetStack:SLIP
Quit